package com.ac.app.dm;

import com.caac.core.dm.BaseDm;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright AgileCentury 2008</p>
 * <p>Company: AgileCentury </p>
 * @author <a href="mailto:ac@agilecentury.com">Agile</a>
 * @version 1.0
 */

public class PickSource extends BaseDm {
    private String id;
    private String srcName;
    private String srcUrl;
    private String language;
    private Integer pickInterval;
    private Integer prcNum;
    private Integer valDay;
    private String state;

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSrcName() {
        return this.srcName;
    }

    public void setSrcName(String srcName) {
        this.srcName = srcName;
    }

    public String getSrcUrl() {
        return this.srcUrl;
    }

    public void setSrcUrl(String srcUrl) {
        this.srcUrl = srcUrl;
    }

    public String getLanguage() {
        return this.language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public Integer getPickInterval() {
        return this.pickInterval;
    }

    public void setPickInterval(Integer pickInterval) {
        this.pickInterval = pickInterval;
    }

    public Integer getPrcNum() {
        return this.prcNum;
    }

    public void setPrcNum(Integer prcNum) {
        this.prcNum = prcNum;
    }

    public Integer getValDay() {
        return this.valDay;
    }

    public void setValDay(Integer valDay) {
        this.valDay = valDay;
    }

    public String getState() {
        return this.state;
    }

    public void setState(String state) {
        this.state = state;
    }

    protected int doHashCode() {
        return getHashCodeBuilder().append(id).toHashCode();
    }

    protected boolean doEquals(Object object) {
        PickSource other = (PickSource) object;
        return getEqualsBuilder().append(id, other.id).isEquals();
    }
}
